ModGraph - Generating Executable EMF Models
نویسنده
چکیده
Model driven software engineering aims at creating high level executable models which may be interpreted or compiled. For efficient execution of operations on model instances code generators play an important role. A wellestablished tool for structural modeling and code generation is the Eclipse Modeling Framework (EMF). We extended EMF by behavior modeling within ModGraph, a tool to model behavior by graph transformation rules. Each rule corresponds to an operation modeled in the Ecore class diagram. This paper focuses on ModGraph’s code generator. Therefore I describe the matching of graph transformation rules as well as the exact translation of a rule and its seamless injection into the existing EMF Java code. A running example of a simple calendar application complements the explanation.
منابع مشابه
ModGraph - A Transformation Engine for EMF Model Transformations
Model-driven software engineering aims at increasing productivity by replacing conventional programming with the development of high-level executable models. However, current technology focuses on structural models, while behavioral modeling is still neglected. The transformation engine ModGraph intends to fill this gap. ModGraph complements the Eclipse Modeling Framework with graphical transfo...
متن کاملModGraph meets Xcore: Combining Rule-Based and Procedural Behavioral Modeling for EMF
Model-driven software engineering aims at increasing productivity by developing high-level executable models. The Eclipse Modeling Framework (EMF) significantly contributes toward this goal. Unfortunately, EMF supports only structural models based on the Ecore metamodel. Recently, Xcore has been developed to extend EMF with behavioral modeling. To this end, Xcore provides a single textual langu...
متن کاملModGraph: Graphtransformationen für EMF
Das Eclipse Modeling Framework (EMF) ist ein weit verbreitetes Rahmenwerk zur modellgetriebenen Softwareentwicklung. Mit EMF lassen sich strukturelle Modelle als Instanzen des Ecore-Metamodells erstellen. Aus einem Modell lässt sich Code erzeugen, der im Falle benutzerdefinierter Operationen jedoch lediglich leere Methodenrümpfe enthält. Das von uns entwickelte Werkzeug ModGraph erweitert EMF u...
متن کاملAn Approach to use Executable Models for Testing
This paper outlines an approach to test programs by transforming them into executable models. Based on OMG’s metamodelling framework MOF in combination with an action language extension for the definition of operational semantics, we use QVT to transform abstract syntax trees as code representations into executable models. We argue that these models provide an adequate abstraction for simulatio...
متن کاملtxtUML
The name txtUML stands for textual, executable, translatable UML. It is an Eclipse-based tool built on top of JDT, Xtext/Xbase and Papyrus UML. The tool is designed for textual model editing. This makes storage, version control, compare and merge processes, editing and searching easier and more efficient. The tool supports two textual syntaxes for modeling: the standalone syntax, which is desig...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- ECEASST
دوره 54 شماره
صفحات -
تاریخ انتشار 2012